package com.young.manager.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import java.util.List;

@Getter
@Setter
@TableName("sys_role")
public class SysRole {
    @TableId(type = IdType.AUTO)
    private Long       id;
    private String   name;
    private String remark;

    @TableField(exist = false)
    private List<Long> menuIdList;
}
